# coding:utf-8

class Test(object):
    def __init__(self,age,name):
        self.__age = age
        self.__name = name

    @property
    def name(self):
        return self.__name
    @name.setter
    def name(self,value):
        self.__name = value

tt = Test(23,"fanlihao")
print(tt.name)
tt.name = "wangyang"
print(tt.name)
